package com.commAspects.aspects;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class TestAspects {

	public static void main(String[] args)
	{
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext-aspects.xml");
		TestServiceAspect testServiceAspect = (TestServiceAspect)applicationContext.getBean("testServiceAspect");
		System.out.println("Main - getAdharId : "+testServiceAspect.getAdharId());
		System.out.println("Main - getName : "+testServiceAspect.getName());
		System.out.println("Main - toString : "+testServiceAspect.toString());
	}
}
